x86/vioapic: clear remote IRR when switching RTE to edge triggered mode
authorJan Beulich <jbeulich@suse.com>
Mon, 21 Nov 2011 08:29:31 +0000 (09:29 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 21 Nov 2011 08:29:31 +0000 (09:29 +0100)
commit74424351709ecedc057583588fc4a64688e63376
tree1f1f5526ba31dbbdd11ed78724e6673628ee3d26
parent28e312a8b710d2208ee9ce2c25e5dfc11bc1c1b0
x86/vioapic: clear remote IRR when switching RTE to edge triggered mode

Xen itself (as much as Linux) relies on this behavior, so it should
also emulate it properly. Not doing so reportedly gets in the way of
kexec inside a HVM guest.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Olaf Hering <olaf@aepfle.de>
xen/arch/x86/hvm/vioapic.c